public class Client {
    public static void main(String[] args) {

        // 1.真实角色
        FangDong fangDong = new FangDong();

        // 2.代理角色
        Zhongjie zhongjie = new Zhongjie();
        zhongjie.setFangDong(fangDong);

        // 3.代理
        zhongjie.rent();


    }
}
